<?php
defined('BASEPATH') or exit('No direct script access allowed');


class HistoryController extends Admin_Controller {

    public function __construct() {
        try {
            parent::__construct();
            $this->load->service("SService/HistoryService");
        } catch (\TPException $e) {
            exit($e->getRetJson());
        }
    }



    /**
     * [ historyList]
     * @Name        historyList
     * @Description 登录历史
     * @Author      DJC
     * @Date 2022-02-19 16:39:31
     * @return      [type]                   [description]
    */
    public function historyList(){
        $res = $this->HistoryService->historyList($_POST);
        exit(retSucc($res));
    }


    public function exportHistory(){
        $res = $this->HistoryService->exportHistory($_POST);
        exit(retSucc($res));
    }
    



}